package com.rightsidetech.trade.dtos.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class TdCommodityDetailResp implements Serializable {
    @ApiModelProperty("订单编号")
    private String orderNo;
    @ApiModelProperty("门店名称")
    private String storeName;
/*    @ApiModelProperty("订单备注")
    private String remarks;*/
    @ApiModelProperty("用户姓名")
    private String usName;
    @ApiModelProperty("手机号")
    private String usPhoneNo;
    @ApiModelProperty("用户收货地址")
    private String usAddress;
    @ApiModelProperty("创建时间-下单时间")
    private Date createdAt;
    @ApiModelProperty("付款时间")
    private Date payTime;
    @ApiModelProperty("接单时间")
    private Date receiveTime;
    @ApiModelProperty("完成时间")
    private Date finishTime;
    @ApiModelProperty("取消时间")
    private Date updateAt;
    @ApiModelProperty("订单类型, 0-上门服务, 1-到店自取")
    private Byte orderType;

    @ApiModelProperty("代理商名称")
    private String agentName;

    @ApiModelProperty("大区名称")
    private String areaName;

    @ApiModelProperty("总价格-分")
    private BigDecimal totalAmount;
    @ApiModelProperty("优惠金额-分")
    private BigDecimal discountAmount;
    @ApiModelProperty("实际金额-分")
    private BigDecimal actualAmount;

    /**
     * 订单状态,  0-待付款,1-已支付(用户)/待接单,  2-已支付(用户)/已完成, 3-待接单售后申请，4-售后申请, 5-已退款, -1-取消订单
     */
    @ApiModelProperty("订单状态,  0-待付款,1-已支付(用户)/待接单,  2-已支付(用户)/已完成, 3-待接单售后申请，4-售后申请, 5-已退款, -1-取消订单")
    private Byte orderStatus;

    @ApiModelProperty("邮寄地址")
    private String giftAddress;



    @ApiModelProperty("商品列表")
    private List<TdCommodityDetailMallResp> list;
}
